package com.team7.happycommunity.personcentor.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (CommunityDynamic)实体类
 *
 * @author makejava
 * @since 2020-03-24 17:26:32
 */
@ApiModel(value = "社区动态实体类")
public class CommunityDynamic implements Serializable {
    private static final long serialVersionUID = 744418746282083773L;
    /**
    * 动态id
    */
    @ApiModelProperty(value = "动态id")
    private Integer id;
    /**
    * 发布者id
    */
    @ApiModelProperty(value = "发布者id")
    private Integer cdUserId;
    /**
    * 动态图片id
    */
    @ApiModelProperty(value = "动态图片id")
    private String cdPicPath;
    /**
    * 动态类型
    */
    @ApiModelProperty(value = "动态类型")
    private Integer cdType;
    /**
    * 动态内容
    */
    @ApiModelProperty(value = "动态内容")
    private String cdContent;
    /**
    * 获赞数量
    */
    @ApiModelProperty(value = "获赞数量")
    private Integer cdFavor;
    /**
    * 发布时间（创建时间）
    */
    @ApiModelProperty(value = "发布时间")
    private Date cdTime;

    private List<CommunityDynamicComment> communityDynamicComment;

    public List<CommunityDynamicComment> getCommunityDynamicComment() {
        return communityDynamicComment;
    }

    public void setCommunityDynamicComment(List<CommunityDynamicComment> communityDynamicComment) {
        this.communityDynamicComment = communityDynamicComment;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCdUserId() {
        return cdUserId;
    }

    public void setCdUserId(Integer cdUserId) {
        this.cdUserId = cdUserId;
    }

    public String getCdPicPath() {
        return cdPicPath;
    }

    public void setCdPicPath(String cdPicPath) {
        this.cdPicPath = cdPicPath;
    }

    public Integer getCdType() {
        return cdType;
    }

    public void setCdType(Integer cdType) {
        this.cdType = cdType;
    }

    public String getCdContent() {
        return cdContent;
    }

    public void setCdContent(String cdContent) {
        this.cdContent = cdContent;
    }

    public Integer getCdFavor() {
        return cdFavor;
    }

    public void setCdFavor(Integer cdFavor) {
        this.cdFavor = cdFavor;
    }

    public Date getCdTime() {
        return cdTime;
    }

    public void setCdTime(Date cdTime) {
        this.cdTime = cdTime;
    }

}